#include <iostream>

using namespace std;

int main()


{
    int a;

    cout<<"ingresa un numero pipi: ";

    cin>>a;

    while (a!=1)
    {
        a=a/2;

    cout<<" "<<a;
    }

    return 1;
}




































